package com.j283_5.wisdom_park.vo.confcenter_management;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ProjectVo {
    private static final long serialVersionUID = 1L;

    private Integer page;
    private Integer limit;
    //项目编号
    private Integer proId;
    //项目名
    private String proName;
    //项目编号
    private  String proNum;
    //项目类型
    private  Integer  proType;
    //项目地址
    private  String proAddr;
    //用户类型
    private  Integer usType;
    //项目开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp proStarttime;
    //项目状态
    private  Integer proState;
    //预计上线时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp proTime;
    //项目使用状态
    private Integer proUsstate;

    public ProjectVo(Integer proId, String proName, String proNum, Integer proType, String proAddr, Integer usType, Timestamp proStarttime, Integer proState, Timestamp proTime) {
        this.proId = proId;
        this.proName = proName;
        this.proNum = proNum;
        this.proType = proType;
        this.proAddr = proAddr;
        this.usType = usType;
        this.proStarttime = proStarttime;
        this.proState = proState;
        this.proTime = proTime;
    }
}
